package com.kbbywyclient.ui.contarct;
import com.kbbywyclient.data.model.base.BaseModel;
import com.kbbywyclient.ui.contarct.base.IBaseView;

import java.util.HashMap;

/**
 * Created by Jiangzx on 2017/9/14 17:26.
 */

public class VerifyPhoneContract {
    public interface View extends IBaseView{
        void onSmsSuccess(String sessionId);
        void onSmsFailure();

        void onBindCardSuccess(BaseModel model);
    }

    public interface Presenter{
        void sendSms(String phoneNumber,String type);

        void bindCard(HashMap<String,String> strParams,HashMap<String,Integer> intParams);
    }
}
